package com.ivo.model.sys;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "SYS_M_ApprovalRecord")
public class ApprovalRecord
{
	@Id
	@Column(name = "ApprovalRecord_ID")
	private Long approvalRecord_ID;
	@Column(name = "Parent_FK")
	private Long parent_FK;
	@Column(name = "OrderNumber")
	private String orderNumber;
	@Column(name = "Screen_FK")
	private String screen_FK;
	@Column(name = "SendDept_FK")
	private String sendDept_FK;
	@Column(name = "Sender_FK")
	private String sender_FK;
	@Column(name = "HandDept_FK")
	private String handDept_FK;
	@Column(name = "Handler_FK")
	private String handler_FK;
	@Column(name = "Delegate_FK")
	private String delegate_FK;
	@Column(name = "DelegateDept_FK")
	private String delegateDept_FK;
	@Column(name = "OrderTask_FK")
	private String orderTask_FK;
	@Column(name = "Transition")
	private String transition;
	@Column(name = "DateOfBegin")
	private Date dateOfBegin;
	@Column(name = "DateOfEnd")
	private Date dateOfEnd;
	@Column(name = "ResultCode")
	private int resultCode;
	@Column(name = "Comment")
	private String comment;
	@Column(name = "Visible")
	private int visible;
	@Column(name = "HoldFlag")
	private int holdFlag;
	@Column(name = "Count")
	private int count;
	@Transient
	private int rowNum;
	
	public ApprovalRecord(){}

	public Long getApprovalRecord_ID() {
		return approvalRecord_ID;
	}

	public void setApprovalRecord_ID(Long approvalRecord_ID) {
		this.approvalRecord_ID = approvalRecord_ID;
	}

	public Long getParent_FK() {
		return parent_FK;
	}

	public void setParent_FK(Long parent_FK) {
		this.parent_FK = parent_FK;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getScreen_FK() {
		return screen_FK;
	}

	public void setScreen_FK(String screen_FK) {
		this.screen_FK = screen_FK;
	}

	public String getSendDept_FK() {
		return sendDept_FK;
	}

	public void setSendDept_FK(String sendDept_FK) {
		this.sendDept_FK = sendDept_FK;
	}

	public String getSender_FK() {
		return sender_FK;
	}

	public void setSender_FK(String sender_FK) {
		this.sender_FK = sender_FK;
	}

	public String getHandDept_FK() {
		return handDept_FK;
	}

	public void setHandDept_FK(String handDept_FK) {
		this.handDept_FK = handDept_FK;
	}

	public String getHandler_FK() {
		return handler_FK;
	}

	public void setHandler_FK(String handler_FK) {
		this.handler_FK = handler_FK;
	}

	public String getDelegate_FK() {
		return delegate_FK;
	}

	public void setDelegate_FK(String delegate_FK) {
		this.delegate_FK = delegate_FK;
	}

	public String getDelegateDept_FK() {
		return delegateDept_FK;
	}

	public void setDelegateDept_FK(String delegateDept_FK) {
		this.delegateDept_FK = delegateDept_FK;
	}

	public String getOrderTask_FK() {
		return orderTask_FK;
	}

	public void setOrderTask_FK(String orderTask_FK) {
		this.orderTask_FK = orderTask_FK;
	}

	public String getTransition() {
		return transition;
	}

	public void setTransition(String transition) {
		this.transition = transition;
	}

	public Date getDateOfBegin() {
		return dateOfBegin;
	}

	public void setDateOfBegin(Date dateOfBegin) {
		this.dateOfBegin = dateOfBegin;
	}

	public Date getDateOfEnd() {
		return dateOfEnd;
	}

	public void setDateOfEnd(Date dateOfEnd) {
		this.dateOfEnd = dateOfEnd;
	}

	public void setVisible(Short visible) {
		this.visible = visible;
	}

	public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getVisible() {
		return visible;
	}

	public void setVisible(int visible) {
		this.visible = visible;
	}

	public int getHoldFlag() {
		return holdFlag;
	}

	public void setHoldFlag(int holdFlag) {
		this.holdFlag = holdFlag;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getRowNum() {
		return rowNum;
	}

	public void setRowNum(int rowNum) {
		this.rowNum = rowNum;
	}
	
}
